\hypertarget{mdp__prompt_8h}{
\section{/Users/mdipierro/Desktop/SciDac/development/Libraries/mdp\_\-prompt.h File Reference}
\label{mdp__prompt_8h}\index{/Users/mdipierro/Desktop/SciDac/development/Libraries/mdp\_\-prompt.h@{/Users/mdipierro/Desktop/SciDac/development/Libraries/mdp\_\-prompt.h}}
}


This graph shows which files directly or indirectly include this file:\subsection*{Functions}
\begin{CompactItemize}
\item 
\hypertarget{mdp__prompt_8h_d9eac72f1798a5f9194af627e142f7de}{
double \hyperlink{mdp__prompt_8h_d9eac72f1798a5f9194af627e142f7de}{val} (string s)}
\label{mdp__prompt_8h_d9eac72f1798a5f9194af627e142f7de}

\begin{CompactList}\small\item\em Converts string to float. \item\end{CompactList}\item 
string \hyperlink{mdp__prompt_8h_185d711470749f7244a325d5733c76b6}{prompt} (string filename, string variable, string def\_\-val=\char`\"{}0.0\char`\"{}, int p=0)
\end{CompactItemize}


\subsection{Detailed Description}
\begin{Desc}
\item[Version:]3-1-2005 \end{Desc}
\begin{Desc}
\item[Author:]Massimo Di Pierro $<$\href{mailto:mdipierro@cs.depaul.edu}{\tt mdipierro@cs.depaul.edu}$>$\end{Desc}
Functions to parse user input of parameters in a way safe to parallel programs

Licensed under GPL2 license Read attached license in file mdp\_\-license.pdf This file cannot be distributed without file mdp\_\-license.pdf 

\subsection{Function Documentation}
\hypertarget{mdp__prompt_8h_185d711470749f7244a325d5733c76b6}{
\index{mdp\_\-prompt.h@{mdp\_\-prompt.h}!prompt@{prompt}}
\index{prompt@{prompt}!mdp_prompt.h@{mdp\_\-prompt.h}}
\subsubsection[{prompt}]{\setlength{\rightskip}{0pt plus 5cm}string prompt (string {\em filename}, \/  string {\em variable}, \/  string {\em def\_\-val} = {\tt \char`\"{}0.0\char`\"{}}, \/  int {\em p} = {\tt 0})}}
\label{mdp__prompt_8h_185d711470749f7244a325d5733c76b6}


Try prompt(\char`\"{}$<$stdin$>$\char`\"{},\char`\"{}VALUE\char`\"{},\char`\"{}4.0\char`\"{}) It will prompt the user for variable VALUE and take 4.0 as default 